// EBFLoader.h: interface for the EBFLoader class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_EBFLOADER_H__31FFEA30_0276_446E_997D_45964540BA57__INCLUDED_)
#define AFX_EBFLOADER_H__31FFEA30_0276_446E_997D_45964540BA57__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#pragma warning(disable:4786)


#include <SET>

#include "EBFReader.h"
#include "EBFImportDBLayer.h"

#include "EBFGeometry.h"



class EBFLoader  
{
public:
	EBFLoader();

	virtual ~EBFLoader();

public:
	bool	LoadEBF(const char * EBFFilename, EBFSymbolCodeLayerManager* LayerManager);

	void	SetWorkspace(GEBFWorkspace* workspace);


protected:
	void	SetPointsMap(EBPV4PointsMap* map1);

	void	ImportFeatureLayer (EBFImportDBLayer* Layer);
	
	void	InsertPoint(EBFImportDBLayer* Layer);
	
	void	InsertPolyline(EBFImportDBLayer* Layer);

	void	InsertPolygon(EBFImportDBLayer* Layer);
	
private:
	GEBFWorkspace*	ws;

	EBPV4PointsMap* pointsMap;
};

#endif // !defined(AFX_EBFLOADER_H__31FFEA30_0276_446E_997D_45964540BA57__INCLUDED_)
